package cn.tommyyang.timetask.mapper;


import cn.tommyyang.timetask.model.QuartzJob;

import java.util.List;


/**
 * Created by 18340 on 2018/9/21.
 */

public interface QuartzJobMapper {
    public List<QuartzJob> selectConfiguration();

    public QuartzJob addConfiguration(QuartzJob job);

    public QuartzJob removeConfiguration(String jobName);

    public QuartzJob updateConfiguration(String triggerName,String triggerGroupName, String cron);

    public void setBasePackage(String basePackage);

    public void setSqlSessionFactoryBeanName(String sqlSessionFactoryBeanName);
}
